﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LaserAutoTest.Application.Models.PortModels
{
    public class PortModel:ViewModelBase
    {
        private string _ipAddress;

        public string IpAddress
        {
            get { return _ipAddress; }
            set { SetProperty(ref _ipAddress, value); }
        }

        public bool IsConnected { get; set; }

        public List<CommandModel> Command { get; set; }

        public int CmdIndex { get; set; }

        public DateTime LastSendTime { get; set; }
        public DateTime LastCommandTime { get; set; }
    }
}
